package com.youku.component.variable;

import com.youku.component.BaseAttribute;
import com.youku.component.CaseStep;
import com.youku.component.TestCase;
import com.youku.expression.Position;

public abstract class LocalVariable extends Variable implements CaseStep {

	public LocalVariable() {
		super();
	}

	public LocalVariable(String name, String expressionString, TestCase testCase) {
		super(name, expressionString, testCase);
	}

	@Override
	public void updatePosition(Position position) {
		expression.setPosition(position);
	}

	@Override
	public void setScope(BaseAttribute attribute) {
		this.attribute = attribute;
	}

}
